(setcar (cdr (assq 'which-key-mode minor-mode-alist)) which-key--lighter-backup)))
(defun which-key--echo (text)
- "Echo TEXT to minibuffer without logging.
-Slight delay gets around evil functions that clear the echo
-area."
+ "Echo TEXT to minibuffer without logging."
(let* ((minibuffer (eq which-key-popup-type 'minibuffer))
- (delay (if minibuffer
- 0.2
- (+ (or echo-keystrokes 0) 0.001)))
+ ;; (delay (if minibuffer
+ ;; 0.2
+ ;; (+ (or echo-keystrokes 0) 0.001)))
message-log-max)
(unless minibuffer (message "%s" text))
- (run-with-idle-timer
- delay nil (lambda () (let (message-log-max)
- (message "%s" text))))))
+
+ ;; Caused some completion commands in the minibuffer to be overwritten, so
+ ;; disable the hack for now
+
+ ;; (run-with-idle-timer
+ ;; delay nil (lambda () (let (message-log-max)
+ ;; (message "%s" text))))
+ ))
(defun which-key--next-page-hint (prefix-keys)
"Return string for next page hint."